﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace THE_WIND_RISES.Common.Domans.Produce.DemandPlanning
{
    /// <summary>
    /// 物料需求计划行
    /// </summary>
    public class MaterialPlanningRow:Entity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [Key]
        public int PlanningRow { get; set; }
        /// <summary>
        /// 物料选择id
        /// </summary>
        public int ChooseId { get; set; }
        /// <summary>
        /// 物料属性id
        /// </summary>
        public int AttributeRowId { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 规格名称
        /// </summary>
        public string Spec { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public int PlanningNum { get; set; }
        /// <summary>
        /// 计划开工日期
        /// </summary>
        public DateTime PlanningStartDate { get; set; }
        /// <summary>
        /// 计划完工日期
        /// </summary>
        public DateTime PlanningEndDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Markment { get; set; }
    }
}
